<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>回执</title>
<meta name='keywords'    content='{$keywords}'>
<meta name='description' content='{$description}'>
<!--公共样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/reset.css" />
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/common.css" />
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome.min.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome-ie7.min.css" />
<![endif]-->
<!--公共样式结束-->
<!--页面样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/page_printpage.css" />

<!--页面样式结束-->
<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/Js/jquery-1.8.3.min.js"></script>
<style>
.print_table2 tbody tr td{
	border-bottom:1px solid #ccc;
	padding:5px 0px;
}
</style>
</head>
<body style="overflow-y:scroll;">
	<table class="print" width="90%" border="0" cellpadding="0" cellspacing="0">
		<thead>
			<tr>
				<td class="title">K.K.RABBIT FOOD DELIVERY SERVICE</td>
			</tr>
			<tr>
				<td class="website">www.kkrabbit.com.cn</td>
			</tr>
			<tr>
				<td class="telephone">Tel:400-720-1717&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fax:(021)6226-6616</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>
					<table class="print_table1" width="100%" border="0" cellpadding="0" cellspacing="0">
						<thead>
							<tr>
								<th>Delivery To:<br/>客户名称：</th>
								<td>{$detail.username}</td>
								<th class="odd">Order No:<br/>订单号：</th>
								<td>{$detail.orderno}</td>
							</tr>
							<tr>
								<td colspan="2"></td>
								<td colspan="2" class="space"></td>
							</tr>
							<tr>
								<th>Mobile:<br/>电话：</th>
								<td>{$detail.mobile}</td>
								<th class="odd">Order Date:<br/>订单日期：</th>
								<td>{$detail.addtime|date="Y-m-d",###}</td>
							</tr>
							<tr>
								<td colspan="2"></td>
								<td colspan="2" class="space"></td>
							</tr>
							<tr>
								<th>Address:<br/>地址：</th>
								<td>{$detail.address}</td>
								<th class="odd">Order Time:<br/>订餐时间：</th>
								<td>{$detail.addtime|date="Y-m-d H:i",###}</td>
							</tr>
							<tr>
								<td colspan="2"></td>
								<td colspan="2" class="space"></td>
							</tr>
							<tr>
								<th>&nbsp;</th>
								<td>&nbsp;</td>
								<th class="odd">Target Delivery:<br/>配送时间：</th>
								<td>{$detail.sdltime|date="Y-m-d H:i",###}&nbsp;&nbsp;~&nbsp;&nbsp;{$detail.edltime|date="Y-m-d H:i",###}</td>
							</tr>
						</thead>
						<tfoot>
							<tr>
								<th>Restaurant:</th>
								<td>{$outlet.entitle}</td>
								<th class="odd">餐厅：</th>
								<td>{$outlet.title}</td>
							</tr>
						</tfoot>
					</table>
					<table class="print_table2" width="100%" border="0" cellpadding="0" cellspacing="0">
						<thead>
							<tr>
								<th>Item ID<br/>编号</th>
								<th>Item<br/>菜名</th>
								<th>Property<br/>属性</th>
								<th>Quantity<br/>数量</th>
								<th>Unit Price<br/>单价</th>
								<th>Coomment<br/>要求</th>
								<th class="right">Price<br/>总价</th>
							</tr>
						</thead>
						<tbody>
						
						<volist name="dlist" id="v">
							<tr>
								<td>{$v.pno}</td>
								<td>{$v.title}</td>
								<td>
									<notempty name="v.attr">
										<volist name="v.attr" id="m">
											<span class="entitle">{$m.title}：</span>
											<volist name="m.config" id="n">
												<span>{$n.title}</span>　
											</volist>
											<br/>
										</volist>
									</notempty>
								</td>
								<td>{$v.amount}</td>
								<td>￥{$v.price}</td>
								<td>{$v.content}</td>
								<td class="right">￥{$v.total}</td>
							</tr>
						</volist>	
							
						</tbody>
						<tfoot>
							<tr>
								<td colspan="5"></td>
								<td colspan="2" class="total right"><span>SubTotal:</span>￥{$totalPrice|number_format=2}</td>
							</tr>
						</tfoot>
					</table>
					<table class="print_table3" width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td>Memo:<br/>备注：</td>
							<td>{$detail.content}</td>
							<td class="dercoration">Restaurant Total:<br/>餐厅金额</td>
							<td class="right">￥{$detail['dishesfee']|number_format=2}</td>
						</tr>
						<tr>
							<td></td>
							<td rowspan="4" style="width:65%;">
								 <div>
									 <notempty name="orderbak">
								 		<volist name="orderbak" id="v">
								 			{$key+1}、{$v.remark}<br/>
								 		</volist>
								 	</notempty>
								 </div>
							</td>
							<td class="dercoration">Ajustment:<br/>调整费：</td>
							<td class="right">￥{$detail.b_price}</td>
						</tr>
						<tr>
							<td></td>
							<td class="dercoration">Service Charge:<br/>服务费：</td>
							<td class="right">￥{$detail.shipfee}</td>
						</tr>
						<tr>
							<td></td>
							<td class="dercoration">Wine & Drink:<br/>酒饮料： </td>
							<td class="right">￥{$detail.drinkfee}</td>
						</tr>
						<!-- <tr>
							<td></td>
							<td class="dercoration">Discount:<br/>优惠：</td>
							<td class="right">￥{$detail.cardfee}</td>
						</tr> -->
						<tfoot>
							<tr>
								<td></td>
								<td></td>
								<td class="o_total dercoration">Order Total:<br/>总价：</td>
								<td class="right o_total">￥{$detail['orderfee']+$detail['b_price']|number_format=2}</td>
							</tr>
						</tfoot>
					</table>
				</td>
			</tr>
		</tbody>
		<tfoot>
			<tr>
				<td class="print_foot">{:date("Y-m-d H:i:s")}</td>
			</tr>
		</tfoot>
	</table>
</body>
</html>